const route = require('koa-router')();
const User = require('../../model/user/user.js')

route.post('/admin/get_user_list',async(ctx,next)=>{
    let userList = await User.find({})
    ctx.body = {
        code:200,
        msg:'ok',
        data:userList
    }
})

module.exports = route